﻿<UserControl x:Class="ExcelAddinDialogBoxes.GetRuns"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:ExcelAddinDialogBoxes"
        mc:Ignorable="d"
        Height="300" Width="400" Loaded="Window_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="30" />
            <RowDefinition Height="25" />
        </Grid.RowDefinitions>
        <DataGrid x:Name="dgMainResults" Grid.Row="0" Margin="3" AutoGenerateColumns="True"			 
			SelectionChanged="dgMainResults_SelectionChanged" IsReadOnly="True" />

        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button x:Name="btnGetRuns" Content="Get Runs" HorizontalAlignment="Right" Margin="5" VerticalAlignment="Center" Width="75" Click="btnGetRuns_Click" />
            <Button x:Name="btnProcessRuns" Content="Process Runs" HorizontalAlignment="Right" Margin="5,5.6" VerticalAlignment="Center" Width="75" Click="btnProcessRuns_Click" />
            <Button x:Name="btnClose" Content="Cancel" HorizontalAlignment="Right" Margin="5" VerticalAlignment="Center" Width="75" Click="btnClose_Click" />
        </StackPanel>
        <StatusBar x:Name="sbStatus" Grid.Row="2" >
            <StatusBarItem x:Name="sbiMessageItem">
                <Label x:Name="tsslMessage" Padding="10,0,10,0" Content="" MinWidth="500"/>
            </StatusBarItem>
        </StatusBar>
    </Grid>
</UserControl>
